class fib
{
	public static void main(String[] args)
	{
		System.out.println("fib series=");
		fibgen(10);
	}
	public static void fibgen(int n)
	{
		 int[] fb=new int[n];
		 fb[0]=0;
		 fb[1]=1;
		 for(int i=2;i<n;i++) 
		     fb[i]=fb[i-1]+fb[i-2];
		  for(int i=2;i<n;i++) 
		System.out.println(fb[i]);
	}
}